package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
    void saveOrUpdate(Customer customer);
    Customer getCustomerById(Long id);
    List<Customer> getAll();
    PageInfo<Customer> selectByQuery(QueryObject queryObject);
    void updateStatus(Long customerId, Integer status);
    List<Customer> selectCustomersByPotentialStatus(int statusPotential);

}
